package com.example.twoscroolview.activity

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.twoscroolview.R
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        button1.setOnClickListener {
            startActivity(Intent(this, TwoScrollViewActivity::class.java))
        }
        button2.setOnClickListener {
            startActivity(Intent(this, SwipAndVpActivity::class.java))
        }

        button3.setOnClickListener {
            startActivity(Intent(this, IndatorActivity::class.java))
        }
        button4.setOnClickListener {
            startActivity(Intent(this, FishActivity::class.java))
        }
        button5.setOnClickListener {
            startActivity(Intent(this, FlowActivity::class.java))
        }

        button6.setOnClickListener {
            startActivity(Intent(this, RecyclerviewStickActivity::class.java))
        }

        button7.setOnClickListener {
            startActivity(Intent(this, SlideCardActivity::class.java))
        }

        button8.setOnClickListener {
            startActivity(Intent(this, PhotoActivity::class.java))
        }
    }
}